package com.bookpavilion.goods.pojo;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
/**
 * 实体类
 * @author Administrator
 *
 */
@Entity
@Table(name="bp_goods")
public class Goods implements Serializable{

	@Id
	private String id;//


	
	private String seller_id;//二手书卖家Id
	private String goodsname;//二手书名字
	private String category_id;//图书分类
	private String small_pic;//图书图片
	private Double old_price;//图书原价
	private Double sale_price;//图书销售价
	private Integer nums;//图书库存量
	private String intoduction;//图书简介
	private String description;//图书详细描述
	private Integer views;//浏览量
	private Integer sale_nums;//销售量
	private Integer comment_nums;//评价量
	private java.util.Date create_date;//商品创建时间
	private Integer status;//商品状态 1有效 0无效

	
	public String getId() {		
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}

	public String getSeller_id() {		
		return seller_id;
	}
	public void setSeller_id(String seller_id) {
		this.seller_id = seller_id;
	}

	public String getGoodsname() {
		return goodsname;
	}
	public void setGoogsname(String goodsname) {
		this.goodsname = goodsname;
	}

	public String getCategory_id() {		
		return category_id;
	}
	public void setCategory_id(String category_id) {
		this.category_id = category_id;
	}

	public String getSmall_pic() {		
		return small_pic;
	}
	public void setSmall_pic(String small_pic) {
		this.small_pic = small_pic;
	}

	public Double getOld_price() {		
		return old_price;
	}
	public void setOld_price(Double old_price) {
		this.old_price = old_price;
	}

	public Double getSale_price() {		
		return sale_price;
	}
	public void setSale_price(Double sale_price) {
		this.sale_price = sale_price;
	}

	public Integer getNums() {		
		return nums;
	}
	public void setNums(Integer nums) {
		this.nums = nums;
	}

	public String getIntoduction() {		
		return intoduction;
	}
	public void setIntoduction(String intoduction) {
		this.intoduction = intoduction;
	}

	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}

	public Integer getViews() {		
		return views;
	}
	public void setViews(Integer views) {
		this.views = views;
	}

	public Integer getSale_nums() {		
		return sale_nums;
	}
	public void setSale_nums(Integer sale_nums) {
		this.sale_nums = sale_nums;
	}

	public Integer getComment_nums() {		
		return comment_nums;
	}
	public void setComment_nums(Integer comment_nums) {
		this.comment_nums = comment_nums;
	}

	public java.util.Date getCreate_date() {		
		return create_date;
	}
	public void setCreate_date(java.util.Date create_date) {
		this.create_date = create_date;
	}

	public Integer getStatus() {		
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}


	
}
